package file;

public interface TransferFileObserver {

	/**
	 * Notify the start of the transfer
	 * 
	 * @param tf
	 */
	public void startFileTransfer (TransferFile tf) ;
	
	/**
	 * Notify an update of the transfer
	 * 
	 * @param tf
	 * @param transfer
	 */
	public void updateFileTransfer (TransferFile tf, int transfer) ;
	
	/**
	 * Notify the end of the transfer
	 * 
	 * @param tf
	 * @param correct
	 */
	public void stopFileTransfer (TransferFile tf, boolean correct) ;
	
}
